package day1117;

public class B3 {
    public static void main(String[] args) {
        for(int gj=0; gj<=20 ;gj++){
            for(int mj=0;  mj<=33  ; mj++){
                int  xj=100-gj-mj;
                if(gj*5 +mj*3 +xj *1.0/3.0 ==100.0){
                    System.out.println(gj +"," +mj +","+xj);
                }
            }
        }
    }
}

